package ifdemo;

public class Test {
    public static void main(String[] args) {
        int a = 100, b = 200, c = 300;
        if (a > b && a > c) {
            System.out.println(a);
        } else if (b > c) {
            System.out.println(b);

        } else {
            System.out.println(c);
        }
    }
}
